package base.day05;

public class Study6 {
    public static void main(String[] args) {
        //用一张0.001m厚的纸，折叠多少次可以超过珠穆朗玛峰8848m
        int count = 0;
        double i = 0.001;
        while (i < 8848) {
            i = i * 2;
            count += 1;
        }
        System.out.println("一共要折叠" + count + "次");
    }
}
